home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / BLAT for Windows / blat222.full.zip / BLAT222 / docs / examples.txt < prev    next >
Text File  |  2003-06-30  |  2KB  |  43 lines

  1. EXAMPLES:
  2.  
  3. Please check http://www.blat.net for others! These are the examples that 
  4. shipped with Blat 1.9.4
  5.  
  6. Blat -install smtphost.bar.com foo@bar.com          // Sets host and userid
  7. Blat -install smtphost.bar.com foo                  // Sets host and userid
  8. Blat -install smtphost.bar.com                      // Sets host only
  9.  
  10. Blat myfile.txt -subject "A file for pedro" -to foo@bar.com
  11. // Sends a file with subject line "A file for pedro"
  12.  
  13. Blat myfile.txt -subject "A file for pedro" -to foo@bar.com -q
  14. // Sends a file with subject line "A file for pedro" and does not print
  15. // informative messages on the console
  16.  
  17. Blat myfile.txt -subject "A file for mark" -to fee@fi.com -f foo@bar.com
  18. // -f option overrides the default sender
  19.  
  20. Blat myfile.txt -subject "A file for pedro" -to foo@bar.com -i "devil@fire.hell"
  21. // -i replaces "From:" line address (but leaves Reply-To: and Sender: lines)
  22.  
  23. Blat myfile.txt -subject "animals" -to fee@fi.com -cc "moo@grass.edu,horse@meadow.hill"
  24. // -c mails carbon copies to users moo@grass.edu and horse@meadow.hill
  25.  
  26. Blat.exe BLAT.ZIP -subject "file to gil" -to foo@bar.com -base64
  27. // Sends the binary file BLAT.ZIP to Gilles in MIME Base 64 format
  28.  
  29. Blat.exe BLAT.ZIP -subject "file to gil" -to foo@bar.com -uuencode
  30. // Sends the binary file BLAT.ZIP to Gilles in the old UUEncode format
  31.  
  32. Blat myfile.txt -subject "oumpla" -to foo@bar.com -attach c:\myfolder\*.txt
  33. // Sends a file with subject line "oumpla", attach all files with extension "TXT"
  34. // in folder "myfolder" on drive "C:". Note: you must specify a filename/pattern,
  35. // "-attach .\*.*" will send all files in current folder.
  36. // "-attach ." will not send anything AND WILL NOT GIVE YOU ANY WARNING.
  37.  
  38. Blat myfile.txt -to fee@fi.com -server smtp.domain.com -port 6000
  39. // sends the message through SMTP server smtp.domain.com at port 6000
  40.  
  41. Blat myfile.txt -to fee@fi.com -hostname friend
  42. // tells the SMTP that this computer is called "friend"
  43.